package com.entity;
import java.util.Date;
public class Member {
    private Integer num;
    private String name;
    private String sex;
    private Date birthday;
    private String phone;
    private Integer cpoint;
    private Date jointime;
    public Member() {
    }
    public Member(Integer num, String name, String sex, Date birthday, String phone, Integer cpoint, Date jointime) {
        this.num = num;
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.phone = phone;
        this.cpoint = cpoint;
        this.jointime = jointime;
    }
    public Integer getNum() {
        return num;
    }
    public void setNum(Integer num) {
        this.num = num;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getSex() {
        return sex;
    }
    public void setSex(String sex) {
        this.sex = sex;
    }
    public Date getBirthday() {
        return birthday;
    }
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public Integer getCpoint() {
        return cpoint;
    }
    public void setCpoint(Integer cpoint) {
        this.cpoint = cpoint;
    }
    public Date getJointime() {
        return jointime;
    }
    public void setJointime(Date jointime) {
        this.jointime = jointime;
    }
    @Override
    public String toString() {
        return "Member{" +
                "num='" + num + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday=" + birthday +
                ", phone='" + phone + '\'' +
                ", point=" + cpoint +
                ", jointime=" + jointime +
                '}';
    }
}
